
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
    <style>
        .main {
            position: relative;
            width: 400px;
            height: 600px;
            margin-left: 50px;
        }

        input {
            color: darkgray;
            height: 40px;
            width: 250PX;
            margin-top: 40px;
            margin-left: 50px;
            border-radius: 5px;
        }

        .tijiao {
            position: absolute;
            width: 50px;
            height: 30px;
            background-color: white;
            border-radius: 5px;
            left: 20%;
            color: black;

        }

        button {
            position: absolute;
            left: 50%;
            margin-top: 40px;
        }
    </style>
</head>
<body>
<form action="/teacherstudent?name=${student.stu_id}&method=change" method="post">
    <div class="main">
        <div>学号:&emsp;&emsp;<input required type="text" name="stu_id" value="${student.stu_id}" readonly/></div>
        <div>中文名:&emsp;<input required type="text" name="Cname" value="${student.cname}" readonly/></div>
        <div>英文名:&emsp;<input required type="text" name="Ename" value="${student.ename}" readonly/></div>
        <div>期中成绩:<input required type="text" name="Mmarks" value=""/></div>
        <div>期末成绩:<input required type="text" name="Emarks" value=""/></div>
        <input type="submit" value="提交" class="tijiao">
        <button type="reset">重置</button>
    </div>
</form>
</body>
</html>
